package com.boyu.common.showmodel;

import com.boyu.common.model.Column;

import java.util.ArrayList;
import java.util.List;

/**
 * 菜单
 * Created by Administrator on 2016/8/30.
 */
public class ShowColumn {
	private Column column;
	private Column parentColumn;
	private List<ShowColumn> subShowColumnList = new ArrayList<>();

	public ShowColumn(Column column) {
		this.column = column;
	}

	public Column getColumn() {
		return column;
	}

	public void setColumn(Column column) {
		this.column = column;
	}

	public Column getParentColumn() {
		return parentColumn;
	}

	public void setParentColumn(Column parentColumn) {
		this.parentColumn = parentColumn;
	}

	public List<ShowColumn> getSubShowColumnList() {
		return subShowColumnList;
	}

	public void setSubShowColumnList(List<ShowColumn> subShowColumnList) {
		this.subShowColumnList = subShowColumnList;
	}

	public void addSubShowColumn(ShowColumn showColumn) {
		subShowColumnList.add(showColumn);
	}
}
